<%@ page import="cn.kgc.pojo.NewsDetail" %>
<%@ page import="java.awt.*" %>
<%@ page import="java.util.List" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/9/14
  Time: 14:52
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<jsp:useBean id="newsDetailService" class="cn.kgc.service.NewsDetailServiceImpl" scope="application"></jsp:useBean>
<%
    /*   NewsDetailService newsDetailService =new NewsDetailServiceImpl();*/
    List<NewsDetail> list= newsDetailService.getAllNewsDetail();
    out.print(newsDetailService);
%>
</body>
</html>
